package com.tutu.entity;

/**
 * @Program: Spring_New
 * @Description: 商品表对应实体类
 * @Author: JK.TuTu
 * @Create: 2022-09-15 21:01
 **/
public class Commodity {
    private Integer id;//商品编号
    private String name;//商品名称
    private Integer count;//商品货存
    private Float price;//商品价格

    public Commodity() {
    }

    public Commodity(Integer id, String name, Integer count, Float price) {
        this.id = id;
        this.name = name;
        this.count = count;
        this.price = price;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }
}